package copyengine.utils
{
    import starling.display.DisplayObject;

    public class CEStarlingUtils
    {
        public function CEStarlingUtils()
        {
        }

        [Inline]
        public static function removeTargetFromParent(_target:DisplayObject, _isDispose:Boolean = false):void
        {
            if (_target && _target.parent) {
                _target.parent.removeChild(_target, _isDispose);
            }
        }
    }
}
